package org.fjsei.yewu.service.third;

import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@Data
//@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class InfRespond<T> {
    private int code;
    private String msg;
    //    rows 【{}】
    private List<T> rows;
    //有些请求应答变身 字段名：
    private List<T> data;

    // Getters and Setters
    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
